package com.zhixue.study.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhixue.study.model.dto.*;
import com.zhixue.study.model.po.XcCourseTables;

/**
 * @Auther: 李 力
 * @Date: 2025/5/15
 * @Description: com.zhixue.study.service
 * @version: 1.0
 */
public interface MyCourseTablesService extends IService<XcCourseTables> {

    //添加选课
    public XcChooseCourseDto addChooseCourse(String userId, Long courseId);

    //查询学习资格
    public XcCourseTablesDto getLearningStatus(String userId, Long courseId);

    boolean saveChooseCourseStauts(String choosecourseId);
}
